#gallery, #upload {
border: 1px solid #ccc; 
margin: 10px auto; 
width: 570px; 
padding: 10px;
}

#blank_gallery {
font-family: Arial; 
font-size: 18px; 
font-weight: bold;
text-align: center;
}

.thumb {
float: left; 
width: 150px; 
height: 100px; 
padding: 10px; 
margin: 10px; 
background-color: #ddd;
}

.thumb:hover {
outline: 1px solid #999;
}

img {
border: 0;
}

#gallery:after {
content: "."; 
visibility: hidden; 
display: block; 
clear: both; 
height: 0; 
font-size: 0;
}